using SlimDX.Direct3D11;
using SlimDX.DXGI;

namespace JamesZhao.Engine.Graphics
{
    public static class BufferConstants
    {
        public const int VertexBufferElementSize = 16 + 12 + 16; // + 8;
        public const int IndexBufferElementSize = 4;
        public const int VertsPerTriangle = 3;

        public static readonly InputElement[] InputLayoutElements = new[]
                                                                        {
                                                                            new InputElement("POSITION", 0,
                                                                                             Format.R32G32B32A32_Float,
                                                                                             0, 0),
                                                                            new InputElement("NORMAL", 0,
                                                                                             Format.R32G32B32_Float, 16,
                                                                                             0),
                                                                            new InputElement("COLOR", 0,
                                                                                             Format.R32G32B32A32_Float,
                                                                                             28, 0),
                                                                            /*
                                                                             new InputElement("TEXCOORD0", 0, //uv
                                                                                              Format.R32G32_Float, 44, 0)*/
                                                                        };
    }
}